package org.dandsoft.blackbox.evolution.triggers;

import org.dandsoft.blackbox.Time;
import org.dandsoft.blackbox.SignalId;
import org.dandsoft.blackbox.evolution.triggers.Trigger;
import org.dandsoft.blackbox.evolution.BoxNet;

/**
 * @author Vilyuzhanin Denis (Fin)
 */
public abstract class AbstractTrigger implements Trigger {
    private BoxNet net;
    private Time time;
    private SignalId signalId;

    public void init(Time time, BoxNet net, SignalId signalId) {
        this.time = time;
        this.net = net;
        this.signalId = signalId;
    }

    public SignalId getSignalId() {
        return signalId;
    }

    public BoxNet getNet() {
        return net;
    }

    public Time getTime() {
        return time;
    }
}
